package com.rran.study.designpattern.behavioral.chain.chain.spring;

import com.rran.study.designpattern.behavioral.chain.model.ChainContext;

/**
 * @author yy
 * @Type AbstractAttackPlaceSpringChain.java
 * @Desc
 * @date 2020/7/20 22:53
 */
public abstract class AbstractAttackPlaceSpringChain extends AbstractSpringChain{

    @Override
    public void doHandleComplete(ChainContext context) {

    }

    @Override
    public void doFail(ChainContext context) {
        System.out.println("ATTACK FAILED");
    }

    @Override
    protected void doComplete(ChainContext context) {
        System.out.println("ATTACK SUCCESS");
    }
}
